package com.coocaa.internship.service;

import com.coocaa.internship.common.ResultData;
import com.coocaa.internship.pojo.PositionInfo;

/**
 * @author :hhd
 * @Description:
 * @date :2019/8/8 10:28
 */

public interface PositionInfoService {

    /**
     * 职位详情查询
     *
     * @param positionId
     * @return
     */
    ResultData selectPositionInfoById(Long positionId);

    /**
     * 选取所有职位信息
     *
     * @return
     */
    public ResultData selectAll();

    /**
     * 插入职位
     *
     * @param positionInfo
     * @return
     */
    public ResultData insertPosition(PositionInfo positionInfo);

    /**
     * 删除职位
     *
     * @param positionInfo
     * @return
     */
    public ResultData deletePosition(PositionInfo positionInfo);

    /**
     * 删除指定id职位
     *
     * @param positionId
     * @return
     */
    public ResultData deletePosition(Long positionId);

    /**
     * 修改
     */
    public ResultData updatePosition(PositionInfo positionInfo);

    /**
     * 根据企业id查询
     *
     * @param companyId
     * @return
     */
    public ResultData selectByCompanyId(Long companyId);
}
